package com.kantboot.file.service;

import com.kantboot.file.entity.CesImage;
import com.kantboot.file.entity.CesVideo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

public interface CesVideoService {

    /**
     * 上传视频
     */
    CesVideo uploadVideo(MultipartFile video);

    /**
     * 根据id显示视频
     * @param id
     * @param response
     */
    void showVideoById(Integer id, HttpServletResponse response);

}
